package com.rxyb.toolize;

import lombok.extern.slf4j.Slf4j;

/**
 * 融信告警
 * 脚本检测后发送微信提醒
 *
 * @author duyh
 * @date 2020/6/9
 */
@Slf4j
public class RxybAlarmUtils {

    public static void warn(String key, String describe, String msg) {
        StringBuffer sb = new StringBuffer();
        sb.append("[").append(IpUtils.findLocalIP()).append("][").append(describe).append("]").append("【").append(key).append("】告警ERROR：").append(msg);
        log.error(sb.toString());
    }


}
